// pages/login/login.js
Page({

	/**
	 * 页面的初始数据
	 */
	data: {
		userInfo: {}
	},


	hendleUserInfo() {
		wx.getUserProfile({
			desc: "用于顺着网线干架",
			success: (res) => {
				this.setData({
					userInfo: res.userInfo
				})
				const {
					userInfo
				} = this.data;
				wx.setStorageSync("userInfo", userInfo);
				wx.navigateBack({delta:1});
			}
		});


	}


})
